package com.lyncs.ods.resp;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author alex
 * @date 2022/9/4 20:30
 * @description
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class TransactionInfoResp {

    @ApiModelProperty(value = "订单总数")
    private Long orderCount;
    @ApiModelProperty(value = "订单金额，key:货币单位;value:货币对应金额")
    private Map<String, BigDecimal> orderAmountInfo;
    @ApiModelProperty(value = "未完成订单总数")
    private Long incompleteOrderCount;
    @ApiModelProperty(value = "未完成订单金额，key:货币单位;value:货币对应金额")
    private Map<String, BigDecimal> incompleteOrderAmountInfo;


    @ApiModelProperty(value = "账款总金额")
    private BigDecimal billTotalAmount;
}
